package com.suyl.candy;

import com.yomahub.tlog.core.enhance.AspectLogEnhance;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author suyanlong
 * @version 1.0
 * @createDate 2020/4/21 21:01
 */
@SpringBootApplication
@MapperScan("com.suyl.candy.model.mapper.**")
//@Slf4j
public class CandyApplication {

    static {
        AspectLogEnhance.enhance();
    }

    public static void main(String[] args) {
        SpringApplication.run(CandyApplication.class, args);
//        log.info("CandyApplication started success！！！");
    }
}